<template>
	<div class="week">
		<div class="title">周末去哪儿</div>
		<div class="whereGo" v-for="(item,index) in weekList" :key="item.id">
			<div><img :src="item.url"/></div>
			<div>{{item.t1}}</div>
			<div>{{item.t2}}</div>
		</div>
		
	</div>
</template>

<script>
	export default{
		name:"Week",
		props:{
			weekList:Array
		},
		data(){
			return {
//				"weekData":[
//					{"id":"001","t1":"京城周末撒欢","t2":"在京城过周末,不仅仅是城中游","url":"https://imgs.qunarzz.com/sight/source/1811/f3/86173f863bef61.jpg_r_640x214_52b003ac.jpg"},
//					{"id":"002","t1":"京城有好泉","t2":"细数北京温泉,温暖你的冬天","url":"https://imgs.qunarzz.com/sight/source/1510/6e/1ea71e2f04e.jpg_r_640x214_aa6f091d.jpg"},
//					{"id":"003","t1":"京城溜娃必去","t2":"德智体美劳全面发展的亲子日，这些地方该去看看…","url":"https://imgs.qunarzz.com/sight/source/1811/7e/476589267ebb41.jpg_r_640x214_bf599709.jpg"},
//					{"id":"004","t1":"京城必打卡","t2":"来北京必去的景点非这些地方莫属","url":"https://imgs.qunarzz.com/sight/source/1505/aa/7baaf8a851d221.jpg_r_640x214_1431200f.jpg"},
//					{"id":"005","t1":"登高望远秋色佳","t2":"山顶满眼彩色，此情此景醉了","url":"https://imgs.qunarzz.com/sight/source/1509/81/0412da9c4db66a.jpg_r_640x214_8e23871e.jpg"}
//				]
			}
		}
	}
</script>

<style lang="stylus" scoped>
	.title{
		color:#212121;line-height:0.4rem;
		padding-left:0.13rem;background:#F5F5F5;
	}
	.whereGo{margin-bottom:0.2rem;}
	.whereGo div:nth-of-type(1) img{width:100%;}
	.whereGo div:nth-of-type(2){
		font-size:0.14rem;
		color:#212121;
		padding-left:0.07rem;
		line-height:0.24rem;
		margin:0.03rem 0rem;
	}
	.whereGo div:nth-of-type(3){
		font-size:0.12rem;
		color:#616161;
		padding-left:0.07rem;
	}
</style>